From 461acd6e428694c89002d5bb1e4d616e7390cdf0 Mon Sep 17 00:00:00 2001 From: Lapo Calamandrei Date: Tue, 8 Jul 2014 10:06:57 +0200 Subject: [PATCH] Adwaita: style notebook tab overflow arrow --- gtk/resources/theme/Adwaita/_common.scss | 14 ++++++++++++++ gtk/resources/theme/Adwaita/gtk-contained-dark.css | 12 ++++++++++++ gtk/resources/theme/Adwaita/gtk-contained.css | 12 ++++++++++++ 3 files changed, 38 insertions(+) diff --git a/gtk/resources/theme/Adwaita/_common.scss b/gtk/resources/theme/Adwaita/_common.scss index d13690a5a3..ae5435d692 100644 --- a/gtk/resources/theme/Adwaita/_common.scss +++ b/gtk/resources/theme/Adwaita/_common.scss @@ -1204,6 +1204,20 @@ GtkTreeView.view.progressbar { //Progressbar in treeview cells } } } + &.arrow { + color: $insensitive_fg_color; + &:hover { color: mix($fg_color, $insensitive_fg_color, 50%); } + &:active { color: $fg_color; } + &:insensitive { + color: transparentize($insensitive_fg_color,0.7); + } + &:backdrop { + color: transparentize($backdrop_fg_color,0.6); + &:insensitive { + color: $backdrop_insensitive_color; + } + } + } } //.notebook > .frame, diff --git a/gtk/resources/theme/Adwaita/gtk-contained-dark.css b/gtk/resources/theme/Adwaita/gtk-contained-dark.css index e3f06a9e66..51665b396d 100644 --- a/gtk/resources/theme/Adwaita/gtk-contained-dark.css +++ b/gtk/resources/theme/Adwaita/gtk-contained-dark.css @@ -1373,6 +1373,18 @@ GtkTreeView.view.progressbar { border-color: transparent; } .notebook tab .button > GtkImage { padding: 2px; } + .notebook.arrow { + color: #939695; } + .notebook.arrow:hover { + color: #c0c2c0; } + .notebook.arrow:active { + color: #eeeeec; } + .notebook.arrow:insensitive { + color: rgba(147, 150, 149, 0.3); } + .notebook.arrow:backdrop { + color: rgba(201, 203, 201, 0.4); } + .notebook.arrow:backdrop:insensitive { + color: #454c4c; } /************** * Scrollbars * diff --git a/gtk/resources/theme/Adwaita/gtk-contained.css b/gtk/resources/theme/Adwaita/gtk-contained.css index 0115e2de3f..ff0af2c57c 100644 --- a/gtk/resources/theme/Adwaita/gtk-contained.css +++ b/gtk/resources/theme/Adwaita/gtk-contained.css @@ -1366,6 +1366,18 @@ GtkTreeView.view.progressbar { border-color: transparent; } .notebook tab .button > GtkImage { padding: 2px; } + .notebook.arrow { + color: #8d9091; } + .notebook.arrow:hover { + color: #5d6263; } + .notebook.arrow:active { + color: #2e3436; } + .notebook.arrow:insensitive { + color: rgba(141, 144, 145, 0.3); } + .notebook.arrow:backdrop { + color: rgba(84, 89, 90, 0.4); } + .notebook.arrow:backdrop:insensitive { + color: #c7c7c7; } /************** * Scrollbars * -- 2.30.2